<template>
	<div class="homepage" id="home">
		<!--<ion-header>
		</ion-header>-->
		<ion-content>
			<signin></signin>
		</ion-content>

	</div>
</template>

<script>
	import signin from './pannel/login'
	export default {
		name: 'homepage',
		computed: {
	    isLogged () {
	      return this.$store.getters.isLogged;
	    },
	  },
		data() {
			return {
				title: '',
			}
		}, //定义变量
		components: {
			signin
		}, //注册组件
		methods: { //方法都在这里
			test: function() {
				this.items.splice(index, 1)
			},
		},
		mounted() {
			var that = this;
			//获取banner
			
		},
		watch:{  
        '$route'(to,from){  
            console.log('从'+from.params.id+'到'+to.params.id);  
        }  
    }
	}
</script>
<!--<script>
	
</script>-->

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style lang="scss">
	.homepage{
		background:#ECECEC;
	}
</style>